<link href="css/discount/leftnav.css" media="screen" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="script/jquery.min.js"></script>
<script type="text/javascript">
	var storeTypes;
	$(document).ready(function(){
		$.getJSON("/discount/getStoreTypes", processStoreTypes);
		function processStoreTypes(_storeTypes){
			storeTypes = _storeTypes;
			for (var i = 0; i < storeTypes.length; i ++)
				$("#leftnav_storetypes").append("<li><a href='javascript:showStoreListPage(" + storeTypes[i][0] + ")'>" + storeTypes[i][1] + "(" + storeTypes[i][2] + ")</a></li>");
			showStoreListPage(0);
		}
	});
</script>
<div class="nav" id="leftnav">
	<ul id="leftnav_storetypes">
	</ul>
</div>
